namespace drg_group.wuhan_2022{
    public class IB1
    {
        public static String group(MedicalRecord record)
        {
            String[] adrg_zd={};
            String[] adrg_zd1={};
            String[] adrg_ss={"81.0100x001","81.0101","81.0103","81.0104","81.0200x001","81.0200x002","81.0400x004","81.0400x005","81.0401","81.0402","81.0600x005","81.0600x006","81.0601","81.0602"};
            String[] adrg_ss1={"81.0102","81.0105","81.0300x001","81.0300x002","81.0500x005","81.0500x006","81.0501","81.0502","81.0700x002","81.0701","81.0702","81.0800x016","81.0800x017","81.0800x018","81.0801","81.0802"};
            
            if (true && record.ssList!=null &&record.ssList.Length>0 && Base.intersect(record.ssList,adrg_ss) && Base.intersect(record.ssList,adrg_ss1)){
                Base.groupMessages.putMessage(record.Index,"符合IB1入组条件，匹配规则：双手术匹配");
                    
                if (MDCI_DRG.IB19_group(record))
                {
                    return "IB19";
                }

                return "IB1";
            }else{
                return "";
            }
        }
    }
}